Skip to content

Conversation

1234-ad
Copy link

@1234-ad 1234-ad commented Oct 2, 2025

Description

This PR addresses issue #2145 where the --turbo flag in the dev script causes styling issues with shadcn/ui and potentially other CSS frameworks.

Changes

  • Removed --turbo flag from the default dev script
  • Added a separate dev:turbo script for users who want to use turbo mode
  • This provides flexibility while avoiding compatibility issues

Why this change?

The --turbo flag can cause compatibility issues with certain CSS frameworks like shadcn/ui, making debugging extremely difficult. By separating the turbo functionality into its own script, we:

  1. Fix the default behavior to work with all CSS frameworks
  2. Still provide turbo functionality for users who want it
  3. Make the development experience more predictable

Testing

  • Verified the package.json template generates correctly
  • Confirmed both npm run dev and npm run dev:turbo work as expected

Fixes issue where --turbo flag causes styling issues with shadcn/ui.
The --turbo flag can cause compatibility issues with certain CSS frameworks.
This change provides both options: regular dev and turbo dev.
Copy link

changeset-bot bot commented Oct 2, 2025

⚠️ No Changeset found

Latest commit: 4706092

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

This PR includes no changesets

When changesets are added to this PR, you'll see the packages that this PR includes changesets for and the associated semver types

Click here to learn what changesets are, and how to add one.

Click here if you're a maintainer who wants to add a changeset to this PR

Copy link

vercel bot commented Oct 2, 2025

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Preview Comments Updated (UTC)
create-t3-app Error Error Oct 2, 2025 10:02am

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant